package com.momo.hotel.dao.mapping.ext;

import com.momo.hotel.dao.pojo.ext.TbShopCarExt;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @author qiang
 * @create 2019/7/6
 */
public interface TbShopCarMapperExt extends Mapper<TbShopCarExt> {
    /**
     * 获取购物车的信息
     * @return
     */
    List<TbShopCarExt> selectShopCar(Integer userId);

    /**
     * 根据id删除购物车
     * @param id
     * @return
     */
    Integer deleteShopCar(Integer id);
}
